﻿<Window x:Class="WPF_HtmlConverterFeaturesDemo.MainForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="HTML to PDF Converter - WPF Demo" Height="258" Width="702" ResizeMode="NoResize">
    <Grid>
        <Label Height="28" Margin="197,12,209,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" Grid.ColumnSpan="2">HTML to PDF Converter Features Demo</Label>
        <Label Height="29" Margin="12,57,12,0" Name="label2" VerticalAlignment="Top">To convert a web page to image or to PDF enter the web page full URL in the text box below and press 'Convert' button.</Label>
        <Label Margin="14,102,0,90" Name="label3" FontWeight="Bold" HorizontalAlignment="Left" Width="199">Enter Web Page URL or File Path:</Label>
        <TextBox Margin="225,104,43,93" Name="textBoxWebPageURL">http://www.html-to-pdf.net</TextBox>
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="20,0,0,68" Name="cbLiveLinks" VerticalAlignment="Bottom" Width="77" IsChecked="True">Live Links</CheckBox>
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="103,0,0,68" Name="cbBookmarks" VerticalAlignment="Bottom" Width="88">Bookmarks</CheckBox>
        <CheckBox Height="16" Margin="197,0,0,68" Name="cbJavaScriptEnabled" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="78">JavaScript</CheckBox>
        <CheckBox Height="16" Margin="281,0,330,68" Name="cbActiveXEnabled" VerticalAlignment="Bottom">ActiveX</CheckBox>
        <CheckBox Height="16" Margin="356,0,0,68" Name="cbEmbedFonts" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="89">Embed Fonts</CheckBox>
        <CheckBox Height="16" Margin="0,0,104,68" Name="cbJpegCompression" VerticalAlignment="Bottom" IsChecked="True" HorizontalAlignment="Right" Width="115">JPEG Compression</CheckBox>
        <Button HorizontalAlignment="Left" Margin="20,0,0,24" Name="btnConvert" Width="90" Height="28" VerticalAlignment="Bottom" Click="btnConvert_Click">Convert to PDF</Button>
    </Grid>
</Window>
